package package2;


public class Dog {

    @AnimalAnnotation(value = "小黄")
    private String name;

    @AnimalAnnotation(hairColor = "黑色")
    private String color;

    @AnimalAnnotation(id = 1)
    private int id;

    @AnimalAnnotation(invoke = true)
    public void getDog(String dogData){
        System.out.println(dogData);
    }
}
